package com.kc.business.mapper;

import com.kc.business.domain.BizRoleMenu;
import com.kc.common.core.dao.BaseMapper;
import org.apache.ibatis.annotations.Delete;

/**
 * FileName: BziRoleMenuMapper
 * Author:   TP
 * Date:     2020-10-30 14:48
 * Description:
 */
public interface BizRoleMenuMapper extends BaseMapper<BizRoleMenu> {

    @Delete("delete from kc_role_menu where role_id = #{id}")
    int deleteByRoleId(Integer id);
}
